package cn.net.wanji.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 服务区配置项
 * @author weining
 * @version 1.0
 * @date 2023-12-06 14:14
 */
@Data
@TableName("service_config")
public class ServiceConfig implements Serializable {

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.INPUT)
    private Integer id;

    // 是否是在线
    @TableField("is_online")
    private Integer isOnline;

    // 正拍阈值
    @TableField("threshold_forehand")
    private Integer thresholdForehand;

    @TableField("threshold_compose1")
    private Integer thresholdCompose1;

    @TableField("threshold_compose2")
    private Integer thresholdCompose2;

    @TableField("threshold_compose3")
    private Integer thresholdCompose3;

    // 经过服务区停留时长，单位秒
    @TableField("service_stop_time")
    private Integer serviceStopTime;

    // 需要多久才能更新
    @TableField("entry_update_time")
    private Integer entryUpdateTime;

}
